*{
    @include SourceHanSansCN-Regular;
}
#luckysheet,.editormd{
    .fa{
        font-family:  FontAwesome !important;
    }
}
body{
    overflow: hidden;
}
.el-overlay{
    --el-overlay-color-lighter: rgba(54,59,76,0.5);
}
.el-popper.is-customtip {
    /* Set padding to ensure the height is 32px */
    background: #EEEFF0;
}
  
.el-popper.is-customtip .el-popper__arrow::before {
    background: #EEEFF0;
}
.modal-trans{
    background-color: transparent !important;
}
.show-drawer-border{
    .el-drawer__body{
        border-top: 1px solid #EEEFF0;
    }
}
.dialog-center{
    margin:auto !important;
    .el-overlay-dialog{
        display: flex !important;
    }
    .custom-dialog{
        margin: auto !important;
    }
}
.custom-dialog{
    border-radius: 6px !important;
    overflow: hidden !important;
    .el-dialog__header{
        margin: 0px !important;
        padding: 0px !important;
    }
    .el-dialog__body{
        padding: 0px !important;
        border-radius: 6px;
        overflow: hidden;
    }
    .el-dialog__footer{
        padding: 0px !important;
    }
}
.custom-dialog-header{
    height: 48px;
    background: #F5F6F7;
    padding: 0px 16px 0px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .title-box{
        @include SourceHanSansCN-Bold;
        font-size: 14px;
        color: #363b4c;
        margin-bottom: 2px;
        .title{
            @include SourceHanSansCN-Bold;
            font-size: 14px;
            color: #363b4c;
        }
    }
    .close-icon{
        width: 16px;
        height: 16px;
        cursor: pointer;
    }
}
.custom-dialog-footer{
    padding: 16px;
    box-sizing: border-box;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: end;
    border-top: 1px solid #EEEFF0;
}
.custom-form-title{
    @include SourceHanSansCN-Bold;
    color:#363B4C;
    height:26px;
    line-height:26px;
    width: 100%;
    .require{
        color:#FF194C;
        margin-right:2px;
    }
}
.custom-dialog-body{
    .el-input{
        .el-input__wrapper{
            background: #F5F6F7 !important;
            box-shadow: none !important;
            &::-webkit-input-placeholder{
              font-size: .875rem;
              color: #6f7588;
              @include SourceHanSansCN-Regular;
            }
        }
    }
    .el-select{
        width: 100%;
    }
    .el-textarea{
        textarea{
            background: #F5F6F7;
            box-shadow: none !important;
            resize: none;
        }        
    }
}
.custom-popper-class{
    box-sizing: border-box !important;
    padding: 0px 0px !important;
}
.lang-popper{
 z-index: 2014;
}
// 自定义按钮
.bule-button-1{
    background-color: #E4EDFF;
    color:#1E6FFF;
    font-size: 14px;
}
// .codicon-folding-expanded:before { content: '\eab4'; }
// .codicon-folding-collapsed:before { content: '\eab6'; }
.disabled{
    cursor: not-allowed !important;
    span{
        cursor: not-allowed !important;
    }
}
.disabled-click{
    cursor: not-allowed !important;
    color: #D7D8DB !important;
}
.el-button .disabled-click{
    background: #EEEFF0 !important;
    &:hover{
        background: #EEEFF0 !important;
    }
}
.el-input__inner{
    padding: 0 !important;
    outline: none !important;
    border: none !important;
    background: none !important;
    height: auto !important;
    line-height: auto !important;
}

.tag-popover-action{
    padding: 0 !important;
    min-width:185px !important;
    position: relative;
    .tag-body-box{
        padding: 8px 0px;
        .tag-input-box{
            margin: 0px 8px 8px;
            background: #F5F6F7;
            border: 1px solid transparent;
            border-radius: 6px;
            overflow: hidden;
            .el-input{
                .el-input__wrapper{
                    box-shadow: none !important;
                    background-color: transparent !important;
                }
            }
        }
        .tag-input-foucs{
            border-color: #1E6FFF;
        }
        .tag-lists{
            max-height: 215px;
            // max-height: 105px;
            padding: 0px 8px;
            .tag-item{
                height: 30px;
                display: flex;
                align-items: center;
                cursor: pointer;
                border-radius: 4px;
                padding: 0px 8px;
                box-sizing: border-box;
                justify-content: space-between;
                &:hover{
                    background-color: #F5F6F7;
                }
                .tag-colour{
                    width: 14px;
                    height: 14px;
                    border-radius: 4px 4px 4px 4px;
                    margin-right: 4px;
                }
                .tag-name-box{
                    flex:2; 
                    .tag-name{
                        max-width: 115px;
                        text-overflow: ellipsis;
                        overflow: hidden;
                        white-space: nowrap;
                    }
                }
                
                .check-icon{
                    width: 16px;
                    height: 16px;
                }
            }
        }
        .more-loading-box{
            width: 100%;
            // padding-right: 24px;
            text-align: center;
            height: 37px;
            img{
                width: 50%;
            }
        }
    }
}
.circular{
    animation: loading-rotate 2s linear infinite;
}
.hover-back{
    border-radius: 4px 4px 4px 4px;
    padding: 0px 6px;
   &:hover{
        background: #F5F6F7 !important;
   }
}
.el-popper .is-light{
    span{
        font-size: 14px !important;
        color: #363b4c !important;
    }
}
.ant-tooltip-arrow-content{
    background-color: rgba(255,255,255,0.75) !important;
}
.ant-tooltip .ant-tooltip-arrow:before{
    background-color: rgba(255,255,255,0.75) !important;
}
.ant-tooltip-inner{
    background-color: rgba(255,255,255,0.75) !important;
    color:#363B4C !important;
    .toolbar-tooltip-hotkey{
        color:#363B4C !important;
    }
}
// 对富文本编辑的tooltip进行样式优化
.ant-tooltip:has(.toolbar-tooltip-hotkey){
    --antd-arrow-background-color: rgb(255,255,255,0.85);
}

.more-popover-action {
    padding: 0 !important;
    min-width: 140px;

    .more-lists {
        padding: 8px 0px;
        max-height: calc(100vh - 32px);

        .more-bread-item {
            padding: 0px 16px 0px 8px;
            cursor: pointer;
            height: 36px;
            line-height: 36px;
            justify-content: space-between;
            font-size: 14px;
            color: #363B4C;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;

            &:hover {
                background-color: #eeeff0;
            }
        }

        .more-item {
            padding: 0px 16px 0px 8px;
            cursor: pointer;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 14px;
            color: #363B4C;

            &:hover {
                background-color: #eeeff0;
            }

            .svg-icon {
                width: 16px;
                height: 16px;
                font-size: 16px;
                display: flex;
                align-items: center;
            }

            .name {
                flex: 2;
                margin-left: 8px;
            }

            .arrow-icon {
                width: 16px;
                height: 16px;
            }
        }

        .more-line {
            margin: 8px 0px;
            background: #D7D8DB;
            height: 1px;
            width: 100%;
        }

        .more-item-top {
            padding: 0px 4px 0 8px !important;
            justify-content: start;
            border-radius: 4px 4px 4px 4px;

            .name {
                flex: 2;
            }
        }
    }
}